package com.loan.system.mapper;

import com.loan.common.core.mapper.BaseMapperPlus;
import com.loan.system.domain.OverConfigEntity;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface OverConfigMapper extends BaseMapperPlus<OverConfigMapper, OverConfigEntity,OverConfigEntity> {

    List<Long> selectUserIdsById(Long id);

    void deleteUserConfigById(Long id);

    void addUserConfig(@Param("id") Long id, @Param("userIds") List userIds);

    List<Long> selectByUserId(Long userId);

    int selectMinDayByCompanyId(Long companyId);

}
